import ElButton from '@/components/ElButton'
import ElButtonGroup from '@/components/ElButtonGroup'

/* export default {
  install(Vue) {
    // Vue.component('ElButton', ElButton)
    Vue.component(ElButton.name, ElButton)
    Vue.component(ElButtonGroup.name, ElButtonGroup)

    // ....
  }
} */

// !和上面等价
export default function(Vue) {
  Vue.component(ElButton.name, ElButton)
  Vue.component(ElButtonGroup.name, ElButtonGroup)
}

